package org.jetnuke.dao;

import java.util.List;

import org.jetnuke.entities.Queue;

/**
 * @author <a href="ginger547@gmail.com">ginger547</a>
 * @version 2.0
 * @since 2.0
 */
public interface QueueDAO {
	public Queue retrieveByPK(int id) throws Exception;

	public List selectAllOrderTimestamp() throws Exception;

	public void deleteByID(int qid) throws Exception;

	public int countAll() throws Exception;

	public int addNew(Queue queue) throws Exception;
}
